package com.neocean.archive.map;

import com.neocean.archive.domain.Honor;
import com.neocean.archive.model.HonorAttachmentModel;
import com.neocean.archive.model.HonorModel;
import com.neocean.archive.model.HonorPictureModel;
import com.ruoyi.system.domain.Attachment;
import com.ruoyi.system.domain.Picture;
import org.mapstruct.Mapper;

/**
 * Description: com.neocean.archive.map
 * User: hushibo
 * Date: 2021-11-16 15:29
 * Time: 15:29
 * Version: 1.0
 */
@Mapper(componentModel = "spring")
public interface HonorMap {
    HonorModel toHonorModel(Honor honor);
    Honor toHonor(HonorModel model);

    Picture toPicture(HonorPictureModel model);

    Attachment toAttachment(HonorAttachmentModel model);

}
